﻿///<copyright>
/// Copyright © 2009 Stephen Styrchak. All Rights Reserved.
///</copyright>
using System;
using System.ComponentModel;
using Ferpect.ComponentModel.Design;

[Editor(UITypeEditors.ContentAlignmentEditor, UITypeEditors.UITypeEditor)]
public enum RelativeLocation
{
    // Content is vertically aligned at the top, and horizontally aligned on the left.
    TopLeft = 1,
    // Content is vertically aligned at the top, and horizontally aligned at the center.
    TopCenter = 2,
    // Content is vertically aligned at the top, and horizontally aligned on the right.
    TopRight = 4,
    // Content is vertically aligned in the middle, and horizontally aligned on the left.
    MiddleLeft = 16,
    // Content is vertically aligned in the middle, and horizontally aligned at the center.
    MiddleCenter = 32,
    // Content is vertically aligned in the middle, and horizontally aligned on the right.
    MiddleRight = 64,
    // Content is vertically aligned at the bottom, and horizontally aligned on the left.
    BottomLeft = 256,
    // Content is vertically aligned at the bottom, and horizontally aligned at the center.
    BottomCenter = 512,
    // Content is vertically aligned at the bottom, and horizontally aligned on the right.
    BottomRight = 1024,
}
